<?php
/**
 * MUser模块
 *
 * 测试使用
 *
 * @author		黑冰 <954650386@qq.com>
 */

use \waf\client\monitor\WMonitorClient;

class MUser
{
    public static function doLogin($user_name = '', $user_pass = '')
    {
        $ret = SUser::doLogin($user_name, $user_pass);
        return $ret;
    }

    public static function getConfig($key = '')
    {
        WMonitorClient::tick(__METHOD__, 'SUser::getConfig');
        $success    = true;
        $ret = SUser::getConfig($key);
        WMonitorClient::report(__METHOD__, 'SUser::getConfig', $success);

        return $ret;
    }
}